<?php
/**
 * The default template for displaying content. Used for both single and index/archive/search.
 *
 * @package WordPress
 * @subpackage Bito
 * @since Bito 2.0
 */
?>

	<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
		<h2 class="pagetitle"><a href="<?php the_permalink() ?>" title="Permalink"><?php the_title(); ?></a></h2>
		<div class="titleinfo"><?php the_time('F jS, Y') ?></div>
		<div class="entry">
			<?php if ( is_single() ) : ?>
				<?php the_content();?>
			<?php else : ?>
				<?php ($post->post_excerpt != '') ? the_excerpt() : the_content(); ?>
				<?php if ($post->post_excerpt != '') { ?><a href="<?php the_permalink() ?>" class="more"><?php _e('Read more...', 'bito'); ?></a><?php } ?>
			<?php endif; // is_single() ?>
			<?php wp_link_pages(); ?>
		</div>
		<p class="info">
			<?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?>
		</p>
	</div>
